@extends('web.layout')
@section('content')
<div id="content">
    <div id="focus" class="focus">
        <div class="hd">
            <ul></ul>
        </div>
        <div class="bd" >
            <ul>
                <li style="background:url('{{$post->thumb?asset('storage/'.$post->thumb):''}}') no-repeat center;background-size: cover" class="posts-thumb" data-img="{{$post->thumb?asset('storage/'.$post->thumb):''}}"></li>
            </ul>
        </div>
    </div>
</div>
<!--头部信息-->
<div class="activityTop">
    <p class="title">
        {{$post->post_title}}
    </p>
    <p class="time">{{$post->updated_at->format('m/d H:i')}}</p>

</div>

<!--详情-->
<div class="activityDet">
    <div class="other">
        <span class="tip"><i></i>简单介绍</span>
    </div>
    <div class="text">
        {!! $post->content !!}
    </div>
</div>

@endsection
@section('foot')
    @include('web.partial.gallery',['name'=>'gallery','elem'=>'.posts-thumb'])
@endsection